package com.ruoyi.my.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * @author SR
 * @date 2022/5/19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MySectionProject {
    @TableId(type = IdType.AUTO)
    private Integer id;

    @NotEmpty(message = "项目名称不能为空！")
    private String name;

    private String introduce;

    private String constructionUnit;

    private String supervisionUnit;

    @NotEmpty(message = "主菜单名不能为空！")
    private String menu;

    @NotEmpty(message = "子菜单名不能为空！")
    private String menuName;
}
